#include "SQLTable.h"
#include "../RealObject/Customer.h"

class CCustomerTable : public CSqlTable
{
public:
	CCustomerTable();
	static bool checkCode(const CString& sCode, CCustomer* pCustomer);
	static bool InsertCustomer(CCustomer* pCustomer);
	static vector<CCustomer*> getListCustomerByName(CString sName);
	static int getMaxcode();
	
};